import React, { Component } from 'react';
import './Coll.scss'
import { withRouter } from 'react-router-dom';
import { connect } from 'react-redux'
class coll extends Component {
    render() {
        return (
            <div>
                <div className="coll_">
                    <div className="box_coll" onClick={() => { this.props.history.push('/mycollect') }}>
                        <span>1</span>
                        <span>收藏</span>
                    </div>
                    <div className="box_coll">
                        <span>1</span>
                        <span>积分</span>
                    </div>
                    <div className="box_coll">
                        <span>1</span>
                        <span>优惠券</span>
                    </div>
                </div>
            </div>
        );
    }
}

export default withRouter(coll);
